# !/usr/bin    python3
# encoding:    utf-8 -*-
# @file        : login_apis.py
# @author      : 加强 jqlin
# @Time        : 2025/10/2 15:33
# @Copyright:  : 接口自动化
from api.base_api import BaseSellerApi
from common.encry_decry import md5


class SellerLoginApi(BaseSellerApi):

    # 接口的基本信息，统一封装在init函数中
    def __init__(self,username,password):
        super().__init__()
        self.url = f'{self.host}/seller/login'
        self.method = 'get'
        self.params = {
            "username":username,
            "password":md5(password),
            "captcha":'1512',
            "uuid":"asdasdasdasdasdd"
        }

